﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="popupsendmail.aspx.cs" Inherits="EnmineKaitlin.popupsendmail" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="sendmailform" runat="server">
    <div>
        <h3>Gửi email</h3>        
        <table border="0" cellpadding="3" cellspacing="3">
            <tr>
                <td align="right">Người gửi:</td>
                <td><asp:TextBox ID="txtName" Width="300" CssClass="required" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td align="right">Email người gửi:</td>
                <td><asp:TextBox ID="txtYourMail" Width="300" CssClass="email" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td align="right">Người nhận:</td>
                <td><asp:TextBox ID="txtNameSend" Width="300" CssClass="required" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td align="right">Email người nhận:</td>
                <td><asp:TextBox ID="txtSendMail" Width="300" CssClass="email" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td align="right">Tiêu đề:</td>
                <td><asp:TextBox ID="txtTitle" Width="300" CssClass="required" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td align="right">Nội dung:</td>
                <td><asp:TextBox ID="txtContent" Width="300" Height="100" TextMode="MultiLine" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td></td>
                <td><asp:Button ID="btnSend" Text="Gửi" runat="server" OnClick="btnSend_Click"/><asp:Button ID="btnClose" Text="Làm lại" runat="server" /></td>
            </tr>
        </table>
    </div>
    </form>
        <script type="text/javascript" language="javascript" src="../js/jquery.js"></script>
    <%if (Session["LangID"].ToString() == "vi-VN") {%> 
        <script language="javascript" type="text/javascript" src="../js/jquery.validate.vn.js"></script>
    <%} else {%> 
        <script language="javascript" type="text/javascript" src="../js/jquery.validate.js"></script>
    <%} %>
    <script language="javascript" type="text/javascript">
        $(document).ready(function(){
            $("#sendmailform").validate();
        });
    </script>
</body>
</html>
